const canvas = document.getElementById("canvas");
const context = canvas.getContext("2d");

const cWidth = canvas.width;
const cHeight = canvas.height;
const centerX = cWidth / 2;
const centerY = cHeight / 2;

function Rad(deg){
    return deg * Math.PI / 180;
}

function SetBackColor(color) {
    context.fillStyle = color;
    context.fillRect(0, 0, cWidth, cHeight);
}
